$(function() {
	
	$.ajax({
		type: "GET",
		url: "pic-user-info.do",
		dataType: "json",
		data: {photoWriterId:sessionStorage.author},
		success: function(data) {
			console.info(data)
			let mls = $("#user_head");
			let mods = $("#user_div");
			mls.empty();
			
			console.info(mls);
			
			let ml1=mods.clone().appendTo(mls);
				ml1.find(".head_portrait").attr("src",data.userImg);
				ml1.find(".user_name").text(data.userRealName).css({"font-size":"30px"," text-align":"center"});
				ml1.find(".user_pic_info").text("作品数:"+data.picCount+"		收到的赞:"+data.photoPicGreatCount).css({"float":"right","font-size":"25px","margin":"10px 0px 15px 5px"});
// ml1.find(".pic-title").text("作品名称:"+n.photoPicTitle).css("font-size","20px");
// ml1.find(".pic-great-count").text("收到的赞:"+n.photoPicGreatCount).css("font-size","20px");
// ml1.find(".imgsrc").attr("src", "../img/_noimg.png");
			
		}
	});
	
	
})